Optimal. Leaf size=144 \[ \frac {(e x)^{m+1} \left (1+e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \, _2F_1\left (-p,-\frac {i m+b d n p+i}{2 b d n};\frac {1}{2} \left (-\frac {i (m+1)}{b d n}-p+2\right );-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right ) \cos ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e (-i b d n p+m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 144, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {4494, 4492, 364} \[ \frac {(e x)^{m+1} \left (1+e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \, _2F_1\left (-p,-\frac {i m+b d n p+i}{2 b d n};\frac {1}{2} \left (-\frac {i (m+1)}{b d n}-p+2\right );-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right ) \cos ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e (-i b d n p+m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 4492
Rule 4494
Rubi steps
\begin {align*} \int (e x)^m \cos ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\frac {\left ((e x)^{1+m} \left (c x^n\right )^{-\frac {1+m}{n}}\right ) \operatorname {Subst}\left (\int x^{-1+\frac {1+m}{n}} \cos ^p(d (a+b \log (x))) \, dx,x,c x^n\right )}{e n}\\ &=\frac {\left ((e x)^{1+m} \left (c x^n\right )^{-\frac {1+m}{n}+i b d p} \left (1+e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \cos ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right )\right ) \operatorname {Subst}\left (\int x^{-1+\frac {1+m}{n}-i b d p} \left (1+e^{2 i a d} x^{2 i b d}\right )^p \, dx,x,c x^n\right )}{e n}\\ &=\frac {(e x)^{1+m} \left (1+e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \cos ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, _2F_1\left (-p,-\frac {i+i m+b d n p}{2 b d n};\frac {1}{2} \left (2-\frac {i (1+m)}{b d n}-p\right );-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}{e (1+m-i b d n p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.02, size = 123, normalized size = 0.85 \[ \frac {x (e x)^m \left (1+e^{2 i d \left (a+b \log \left (c x^n\right )\right )}\right ) \cos ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, _2F_1\left (1,\frac {1}{2} \left (-\frac {i (m+1)}{b d n}+p+2\right );-\frac {i (m+1)}{2 b d n}-\frac {p}{2}+1;-e^{2 i d \left (a+b \log \left (c x^n\right )\right )}\right )}{-i b d n p+m+1} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.53, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (e x\right )^{m} \cos \left (b d \log \left (c x^{n}\right ) + a d\right )^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (e x\right )^{m} \cos \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.11, size = 0, normalized size = 0.00 \[ \int \left (e x \right )^{m} \left (\cos ^{p}\left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (e x\right )^{m} \cos \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\cos \left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right )}^p\,{\left (e\,x\right )}^m \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________